*** prepare Ethnic data from 
*** "Ethnic and Cultural Diversity by Country" by James D. Fearon, 
*** Journal of Economic Growth 8, 195-222, 2003

clear
set more off

local path0="C:\Dropbox\GeneticsProject (1)\REStat\round_accepted_replication_files\"

insheet using "`path0'Data\EthnicFractionalization\Fearon_Fractionalization.csv", names clear

label var ef	"Fearon (J of Econ Growth 2003): Ethnic fractionalization"
label var cdiv	"Fearon (J of Econ Growth 2003): Cultural Fractionalization"
label var elf	"Fearon (J of Econ Growth 2003): Fractionalization from Atlas Narodov Mira"

cd "`path0'Workfiles"
rename  countryisocode  countrycode
compress
save Fearon_Fractionalization, replace

